package com.upsuns.entity;

import java.io.File;

/**
 *@Description:<p>文件实体类</p>
 *@author 王旭
 *@time 2016-1-30 下午4:22:50
 */
public class FileEntity {
	
	private long fileSize;//文件大小
	
	private String fileName;//文件名包含后缀
	
	private long lenPerThread;//每个线程应该处理的文件长度，以字节为单位
	
	private long lenRest;//剩余文件长度
	
	private File file;
	
	
	public long getFileSize() {
		return fileSize;
	}

	public void setFileSize(long fileSize) {
		this.fileSize = fileSize;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public long getLenPerThread() {
		return lenPerThread;
	}

	public void setLenPerThread(long lenPerThread) {
		this.lenPerThread = lenPerThread;
	}

	public long getLenRest() {
		return lenRest;
	}

	public void setLenRest(long lenRest) {
		this.lenRest = lenRest;
	}

	public File getFile() {
		return file;
	}

	public void setFile(File file) {
		this.file = file;
	}
	
}
